Optimal. Leaf size=70 \[ -\frac {\tanh ^{-1}\left (\frac {x^{q/2} \left (2 a+b x^{n-q}\right )}{2 \sqrt {a} \sqrt {a x^q+b x^n+c x^{2 n-q}}}\right )}{\sqrt {a} (n-q)} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {1913, 206} \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {x^{q/2} \left (2 a+b x^{n-q}\right )}{2 \sqrt {a} \sqrt {a x^q+b x^n+c x^{2 n-q}}}\right )}{\sqrt {a} (n-q)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 1913
Rubi steps
\begin {align*} \int \frac {x^{-1+\frac {q}{2}}}{\sqrt {b x^n+c x^{2 n-q}+a x^q}} \, dx &=-\frac {2 \operatorname {Subst}\left (\int \frac {1}{4 a-x^2} \, dx,x,\frac {x^{q/2} \left (2 a+b x^{n-q}\right )}{\sqrt {b x^n+c x^{2 n-q}+a x^q}}\right )}{n-q}\\ &=-\frac {\tanh ^{-1}\left (\frac {x^{q/2} \left (2 a+b x^{n-q}\right )}{2 \sqrt {a} \sqrt {b x^n+c x^{2 n-q}+a x^q}}\right )}{\sqrt {a} (n-q)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.40, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{-1+\frac {q}{2}}}{\sqrt {b x^n+c x^{2 n-q}+a x^q}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.26, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{-1+\frac {q}{2}}}{\sqrt {b x^n+c x^{2 n-q}+a x^q}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{\frac {1}{2} \, q - 1}}{\sqrt {c x^{2 \, n - q} + b x^{n} + a x^{q}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.14, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{\frac {q}{2}-1}}{\sqrt {a \,x^{q}+b \,x^{n}+c \,x^{2 n -q}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{\frac {1}{2} \, q - 1}}{\sqrt {c x^{2 \, n - q} + b x^{n} + a x^{q}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^{\frac {q}{2}-1}}{\sqrt {b\,x^n+a\,x^q+c\,x^{2\,n-q}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________